﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="detailproduct.ascx.cs" Inherits="controls_client_detailproduct" %>
<div class="blog"> 
      <div class="slide-vstech">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="500" height="200" id="Object6" align="middle" >
                <param name="movie" value="download/media/swf/desktop_vsc.swf" />
                <param name="quality" value="high" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <param name="allowScriptAccess" value="always" />
                <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
                <param name="_flashhost" value="http://www.go2album.com" />
                <embed src="download/media/swf/desktop_vsc.swf" width="500" height="200" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
            </object>
        </div><br />
 <asp:DataList ID="list" runat="server" style="margin-right: 575px" Width="100%"  
          DataKeyField="Id" ShowFooter="False" ShowHeader="False" 
          DataSourceID="dsSanPham" onitemcommand="list_ItemCommand">
        <ItemTemplate>
            <div id="breadcrumb">
                <ol>
                    <li class="breacrumbs_home"><a href="index.html">Trang chủ</a></li>
                    <li class="last"><asp:Label ID="lbTitle" runat="server" Text='<%# Eval("TenSanPham") %>'></asp:Label></li>
                </ol> 
                <div style="float:right">
                    <img src="images/icon/alarmd.png" style="width:26px; height:26px; position:absolute; margin:-5px 0 0 -30px" />
                    <div id="mylabel" style="font-size:17px; font-style:italic; text-shadow: black 0.1em 0.1em 0.2em; "></div>                                                       
                </div>
            </div>
            <div class="slide-vstech"> 
            <table>
                <tr>
                    <td>
                        <img src="<%# "images/imageproductadd/" + Eval("Hinh") %>" width="110px" height="91px" />
                    </td>
                     <td>
                        <%#Eval("TomTatThongTin") %>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <b>Đơn giá :</b> <%#Eval("DonGia", "{0:#,##0}")%> VNĐ
                        <asp:ImageButton ID="pBuy" runat="server" width="80px" height="50px" ImageUrl="~/images/button/buy.png" CommandName="buy"  /> 
                        <asp:Label ID="Label1" Font-Bold="true" ForeColor="BlueViolet" runat="server" Text='<%#"Lượt xem : " + Eval("Xem") %>'></asp:Label>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lbNoiDung" runat="server" Text='<%#Eval("MoTa") %>'></asp:Label>  
                    </td>
                </tr>
            </table>
            </div>
        </ItemTemplate>
    </asp:DataList>
    <asp:SqlDataSource ID="dsSanPham" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
    SelectCommand="Proc_SanPham_SelectPrimaryKey" SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:QueryStringParameter Name="Id" QueryStringField="key" Type="Int32" />
    </SelectParameters>
    </asp:SqlDataSource>
</div>